package zy.jde.jde.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;
import zy.jde.jde.domain.F0010;
import zy.jde.jde.repository.F0010Repository;

@RestController
public class F0010Controller {

    @Autowired
    private F0010Repository f0010Repository;

    @GetMapping(value = "/f0010/{co}")
    public F0010 findone(@PathVariable String co ){
        return f0010Repository.findByCcco(co);
    }

}
